{
 "cells": [
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:15:37.720931Z",
     "start_time": "2025-08-21T05:15:37.716487Z"
    }
   },
   "cell_type": "code",
   "source": [
    "\n",
    "# 数据类型-列表：list\n",
    "list1 = [1, 2, 3, 4, 5]\n",
    "print(list1)"
   ],
   "id": "ff1283e77ae501ad",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[1, 2, 3, 4, 5]\n"
     ]
    }
   ],
   "execution_count": 1
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(1, 2, 3, 4, 5)\n"
     ]
    }
   ],
   "execution_count": 5,
   "source": [
    "# 数据类型-元组：tuple\n",
    "tuple1 = (1, 2, 3, 4, 5)\n",
    "print(tuple1)"
   ],
   "id": "ffc3c33e1639cfa8"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:09:07.933284Z",
     "start_time": "2025-08-21T05:09:07.930148Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-字典：dict\n",
    "dict1 = {\"name\": \"张三\", \"age\": 18, \"sex\": \"男\"}\n",
    "print(dict1)"
   ],
   "id": "e565a5b0326498e9",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'name': '张三', 'age': 18, 'sex': '男'}\n"
     ]
    }
   ],
   "execution_count": 6
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:10:06.590019Z",
     "start_time": "2025-08-21T05:10:06.586341Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-集合：set\n",
    "set1 = {1, 2, 3, 4, 5}\n",
    "print(set1)"
   ],
   "id": "f84149d7d96b72aa",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{1, 2, 3, 4, 5}\n"
     ]
    }
   ],
   "execution_count": 7
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:10:19.538983Z",
     "start_time": "2025-08-21T05:10:19.536452Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-布尔：bool\n",
    "bool1 = True\n",
    "print(bool1)"
   ],
   "id": "78817e3432c217c6",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "True\n"
     ]
    }
   ],
   "execution_count": 8
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:10:32.148655Z",
     "start_time": "2025-08-21T05:10:32.145479Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-None：None\n",
    "none1 = None\n",
    "print(none1)"
   ],
   "id": "bd0e5662a162038",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "None\n"
     ]
    }
   ],
   "execution_count": 9
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:10:46.238157Z",
     "start_time": "2025-08-21T05:10:46.235026Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-字符串：str\n",
    "str1 = \"hello world\"\n",
    "print(str1)"
   ],
   "id": "275b2398a438cf25",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello world\n"
     ]
    }
   ],
   "execution_count": 10
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:11:30.499615Z",
     "start_time": "2025-08-21T05:11:30.496116Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-整型：  int\n",
    "int1 = 1234567890\n",
    "print(int1)"
   ],
   "id": "e84f01d0583bc85f",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1234567890\n"
     ]
    }
   ],
   "execution_count": 12
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:11:39.481551Z",
     "start_time": "2025-08-21T05:11:39.478817Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-浮点型：float\n",
    "float1 = 123.4567890\n",
    "print(float1)"
   ],
   "id": "8d7c66323f81b7b9",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "123.456789\n"
     ]
    }
   ],
   "execution_count": 13
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:15:48.047312Z",
     "start_time": "2025-08-21T05:15:48.044463Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# 数据类型-复数：complex\n",
    "complex1 = 123 + 456j\n",
    "print(complex1)"
   ],
   "id": "580878f1d9973758",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(123+456j)\n"
     ]
    }
   ],
   "execution_count": 2
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-08-21T05:16:32.472685Z",
     "start_time": "2025-08-21T05:16:32.469658Z"
    }
   },
   "cell_type": "code",
   "source": "print([{\"name\": \"张三\", \"age\": 18, \"sex\": \"男\"}, {\"name\": \"李四\", \"age\": 20, \"sex\": \"男\"}])",
   "id": "abcc5819cfe82d13",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[{'name': '张三', 'age': 18, 'sex': '男'}, {'name': '李四', 'age': 20, 'sex': '男'}]\n"
     ]
    }
   ],
   "execution_count": 3
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": "",
   "id": "ed3b398a12270ffc"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
